package com.ebupt.migu.music.autoTri.Entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author xuhongsong
 * @version 1.0
 * @date 2020/7/27 17:02
 */
@Data
public class MarketingBean implements Serializable {

 /*   // 版权 Id
    private String copyrightId;
    // 歌曲/专辑/数字专辑 Id
    private String marketId;
    // 歌曲/专辑/数字专辑 名称
    private String marketName;
    // 歌曲/专辑/数字专辑 创建时间
    private String marketCreateTime;
    // 歌曲/专辑/数字专辑 修改时间
    private String  marketUpdateTime;
    // 歌曲/专辑/数字专辑 作者
    private String singerName;*/
    //  营销ID（主键）
    private int marketingId;
    //  门户ID
    private int portalId;
    //  营销名称
    private String marketingName;
    //  营销序号
    private int marketingSort;
    //  营销类型
    private int marketingType;
    //  发布时间
    private String marketingCreateTime;
    //  更新时间
    private String marketingUpdateTime;
    //  关联状态 ： 0：下线 1：上线 2：待上线 3：删除 4：审核中 5：审核未通过 6：定时上线
    private int marketingStatus;
    //  渠道对象
    private Channel channels;
    //
    private PlatformRelation platformRelation;

    /*public MarketingBean(String copyrightId,String marketId,String marketName,String marketCreateTime,String marketUpdateTime,String singerName){
        this.copyrightId=copyrightId;
        this.marketId=marketId;
        this.marketName=marketName;
        this.marketCreateTime=marketCreateTime;
        this.marketUpdateTime=marketUpdateTime;
        this.singerName=singerName;
    }*/

    public   MarketingBean(int marketingId,int portalId,String marketingName,int marketingSort,int marketingType,
                           String marketingCreateTime,String marketingUpdateTime,int marketingStatus,Channel channels,PlatformRelation platformRelation){
        this.marketingId=marketingId;
        this.portalId=portalId;
        this.marketingName=marketingName;
        this.marketingSort=marketingSort;
        this.marketingType=marketingType;
        this.marketingCreateTime=marketingCreateTime;
        this.marketingUpdateTime=marketingUpdateTime;
        this.marketingStatus=marketingStatus;
        this.channels=channels;
        this.platformRelation=platformRelation;
    }
}
